package cn.jingyuan.swan.system.domain.sys.dao.mysql;

import cn.jingyuan.swan.cloud.dao.mybatisplus.AbstractMyBatisPlusCrudDao;
import cn.jingyuan.swan.system.domain.sys.dao.MenuDao;
import cn.jingyuan.swan.system.domain.sys.entity.Menu;
import cn.jingyuan.swan.system.domain.sys.mapper.MenuMapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class MenuDaoMySql extends AbstractMyBatisPlusCrudDao<Menu, Long> implements MenuDao {

    @Resource
    MenuMapper mapper;

    @Override
    public BaseMapper<Menu> getMapper() {
        return this.mapper;
    }

}
